package com.yk.i_wms.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yk.i_wms.common.model.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 库存信息
 *
 * @author hbq
 * @date 2021-04-03 14:15:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_stock_info")
public class SmsStockInfo extends SuperEntity {
    private static final long serialVersionUID=1L;

        @Excel(name = "机器序列号")
        @ApiModelProperty(value = "机器序列号")
        private String sn;
        @Excel(name = "单据号")
        @ApiModelProperty(value = "单据号")
        private String docNo;
        @Excel(name = "物料编码")
        @ApiModelProperty(value = "物料编码")
        private String itemCode;
        @Excel(name = "物料名")
        @ApiModelProperty(value = "物料名")
        private String itemName;
        @Excel(name = "批次号")
        @ApiModelProperty(value = "批次号")
        private String batch;
        @Excel(name = "制造商生产日期",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "制造商生产日期")
        private Date pdate;
        @Excel(name = "超期日期",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "超期日期")
        private Date timeoutDate;
        @Excel(name = "数量")
        @ApiModelProperty(value = "数量")
        private Long qty;
        @Excel(name = "采购单号")
        @ApiModelProperty(value = "采购单号")
        private String poNo;
        @Excel(name = "仓库")
        @ApiModelProperty(value = "仓库")
        private String warehouse;
        @Excel(name = "仓库SN")
        @ApiModelProperty(value = "仓库SN")
        private String whCode;
        @Excel(name = "库区SN")
        @ApiModelProperty(value = "库区SN")
        private String reservoirCode;
        @Excel(name = "库位")
        @ApiModelProperty(value = "库位")
        private String areaSn;
        @Excel(name = "质检状态（1，免检 2，待检 3，检验合格 4，检验不合格）")
        @ApiModelProperty(value = "质检状态（1，免检 2，待检 3，检验合格 4，检验不合格）")
        private Integer checkState;
        @Excel(name = "供应商代码")
        @ApiModelProperty(value = "供应商代码")
        private String supplierCode;
        @Excel(name = "入库时间",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "入库时间")
        private Date inStockTime;
        @Excel(name = "入库人")
        @ApiModelProperty(value = "入库人")
        private String inStockMan;
        @Excel(name = "暴露时间")
        @ApiModelProperty(value = "暴露时间")
        private BigDecimal exposeTimes;
        @Excel(name = "烘烤次数")
        @ApiModelProperty(value = "烘烤次数")
        private Long bakeTimes;
        @Excel(name = "最近开封时间")
        @ApiModelProperty(value = "最近开封时间")
        private Date recentlyOpenTime;
        @Excel(name = "最近封口时间")
        @ApiModelProperty(value = "最近封口时间")
        private Date recentlyCloseTime;
        @Excel(name = "库存状态（1：在库，2：已备料）")
        @ApiModelProperty(value = "库存状态（1：在库，2：已备料）")
        private Integer stockState;
        @Excel(name = "是否打印过")
        @ApiModelProperty(value = "是否打印过")
        private Integer hasPrint;
        @Excel(name = "是否是拆分标签")
        @ApiModelProperty(value = "是否是拆分标签")
        private Integer isOpen;
}
